package com.ygo.feihua.BmobTable;
import cn.bmob.v3.*;
import cn.bmob.v3.datatype.*;
import com.ygo.feihua.*;
import java.util.*;

public class Tiezi extends BmobObject
{
	//帖子标题,内容
	private String title,neirong;
	//帖子内容
	private List<TieziMessage> message;
	//帖子图片
	private List<BmobFile> image;
	//发帖人
	private MyUser tiezuo;
	//评论数量
	private Integer pls;
    //帖子类型
	private TieType tie_type;
	//浏览次数
	private Integer viewed;

	public void setViewed(Integer viewed) {
		this.viewed = viewed;
	}

	public Integer getViewed() {
		return viewed;
	}
	public void setTie_type(TieType tie_type)
	{
		this.tie_type = tie_type;
	}

	public TieType getTie_type()
	{
		return tie_type;
	}

	public void setMessage(List<TieziMessage> message)
	{
		this.message = message;
	}

	public List<TieziMessage> getMessage()
	{
		return message;
	}

	
	
	public void setPls(Integer pls)
	{
		this.pls = pls;
	}

	public Integer getPls()
	{
		return pls;
	}
	public void setImage(List<BmobFile> image)
	{
		this.image = image;
	}

	public List<BmobFile> getImage()
	{
		return image;
	}
	
	
	public String getneirong(){
		return neirong;
	}
	public void setneirong(String neirong){
		this.neirong=neirong;
	}
	
	
	public String gettitle(){
		return title;
	}
	public void settitle(String title){
		this.title=title;
	}
	
	public MyUser gettiezuo(){
		return tiezuo;
	}
	public void settiezuo(MyUser tiezuo){
		this.tiezuo=tiezuo;

	}
	
}
